package com.atgugui.springcloud.dao;

import com.atgugui.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Mapper
@Component("paymentDao")
public interface PaymentDao {
    public  int create(Payment payment);

    public  Payment getPaymentById(@Param("id") Long id);


}
